package com.hongdee.scm.outwarehouse.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Mr. Xu on 2017/5/5.
 * 调拨出库
 */
@Entity
@Table(name = "T_Scm_OutWareHouse")
public class TScmOutWareHouse extends BaseEntity {
    //vin
    @Column(name = "vin", length = 32, columnDefinition = "VARCHAR(32) COMMENT 'vin'")
    private String vin;
    //车辆id111
    @Column(name = "car_id", length = 50, columnDefinition = "VARCHAR(50) COMMENT '车辆id'")
    private String carId;

    //出库单单号11
    @Column(name = "out_order_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '出库单单号'")
    private String outOrderNum;


    //出库单单号11
    @Column(name = "out_warehouse_id", length = 36, columnDefinition = "VARCHAR(36) COMMENT '离开库ID'")
    private String outWarehouseId;

    //出库打印时间00
    @Column(name = "out_print_date", length=32, columnDefinition = " VARCHAR(32) COMMENT '出库单打印时间' ")
    private String outPrintDate;

    //实际出库时间
    @Column(name = "out_date", length=32, columnDefinition = " VARCHAR(32) COMMENT '实际出库时间' ")
    private String outDate;

    //出库类型（1销售出库2调拨出库）111
    @Column(name = "outType", length=10, columnDefinition = " VARCHAR(10) COMMENT '出库类型（0销售出库1调拨出库）' ")
    private String outType;

    //出库人
    @Column(name = "out_staff", length=32, columnDefinition = " VARCHAR(32) COMMENT '出库人' ")
    private String outStaff;

    //出库状态（是否出库1已出库0未出库,-1出库撤回）
    @Column(name = "out_status", length=32, columnDefinition = " VARCHAR(32) COMMENT '1已出库0未出库' ")
    private String outStatus;

    //出库状态（0需回库1不需要回库）
    @Column(name = "need_back", length=1, columnDefinition = " VARCHAR(32) COMMENT '0需回库1不需要回库' ")
    private String needBack;

    //关联单据号000
    @Column(name = "relation_order_num", length=32, columnDefinition = " VARCHAR(32) COMMENT '关联单据号' ")
    private String relationOrderNum;

    //公司id
    @Column(name = "company_id", length=32, columnDefinition = " VARCHAR(32) COMMENT '公司id' ")
    private String companyId;
    /**
     * 预计回库时间
     */
    @Column(name = "estimate_back_date", length=32, columnDefinition = " VARCHAR(32) COMMENT '预计回库时间' ")
    private String estimateBackDate;
    /**
     * 预计出库天数
     */
    @Column(name = "estimate_out_day", length=32, columnDefinition = " VARCHAR(32) COMMENT '预计出库天数' ")
    private String estimateOutDay;

    /**
     * 月结状态0未月结 1已月结
     */
    @Column(name = "monthly_status", length=1, columnDefinition = " VARCHAR(1) COMMENT '月结状态0未月结 1已月结' ")
    private String monthlyStatus;

    public String getMonthlyStatus() {
        return monthlyStatus;
    }

    public void setMonthlyStatus(String monthlyStatus) {
        this.monthlyStatus = monthlyStatus;
    }

    public String getEstimateBackDate() {
        return estimateBackDate;
    }

    public void setEstimateBackDate(String estimateBackDate) {
        this.estimateBackDate = estimateBackDate;
    }

    public String getEstimateOutDay() {
        return estimateOutDay;
    }

    public void setEstimateOutDay(String estimateOutDay) {
        this.estimateOutDay = estimateOutDay;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getOutOrderNum() {
        return outOrderNum;
    }

    public void setOutOrderNum(String outOrderNum) {
        this.outOrderNum = outOrderNum;
    }

    public String getOutDate() {
        return outDate;
    }

    public void setOutDate(String outDate) {
        this.outDate = outDate;
    }

    public String getOutType() {
        return outType;
    }

    public void setOutType(String outType) {
        this.outType = outType;
    }

    public String getOutStaff() {
        return outStaff;
    }

    public void setOutStaff(String outStaff) {
        this.outStaff = outStaff;
    }

    public String getOutStatus() {
        return outStatus;
    }

    public void setOutStatus(String outStatus) {
        this.outStatus = outStatus;
    }

    public String getRelationOrderNum() {
        return relationOrderNum;
    }

    public void setRelationOrderNum(String relationOrderNum) {
        this.relationOrderNum = relationOrderNum;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getOutPrintDate() {
        return outPrintDate;
    }

    public void setOutPrintDate(String outPrintDate) {
        this.outPrintDate = outPrintDate;
    }

    public String getNeedBack() {
        return needBack;
    }

    public void setNeedBack(String needBack) {
        this.needBack = needBack;
    }

    public String getOutWarehouseId() {
        return outWarehouseId;
    }

    public void setOutWarehouseId(String outWarehouseId) {
        this.outWarehouseId = outWarehouseId;
    }
}
